HADOOP-16505. Add ability to register custom signer with AWS SignerFactory#1280
Closed
viczsaurav wants to merge 15 commits intoapache:trunkfrom
Closed
HADOOP-16505. Add ability to register custom signer with AWS SignerFactory#1280viczsaurav wants to merge 15 commits intoapache:trunkfrom
viczsaurav wants to merge 15 commits intoapache:trunkfrom
Conversation
added 12 commits
August 12, 2019 17:36
bgaborg
requested changes
Aug 16, 2019
| } | ||
|
|
||
| @Test | ||
| public void testCustomSignerOverride() throws AssertionError { |
There was a problem hiding this comment.
Please use a testing principle in your test: Arrange, Act, Assert - http://wiki.c2.com/?ArrangeActAssert
...tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/TestS3ASigningAlgorithmOverride.java
Outdated
Show resolved
Hide resolved
| @Test | ||
| public void testCustomSignerOverride() throws AssertionError { | ||
| LOG.debug("Inside createConfiguration..."); | ||
| assertTrue(assertIsCustomSignerLoaded()); |
There was a problem hiding this comment.
This does not need to be factored out in a separate method.
...tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/TestS3ASigningAlgorithmOverride.java
Outdated
Show resolved
Hide resolved
...tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/TestS3ASigningAlgorithmOverride.java
Outdated
Show resolved
Hide resolved
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
Contributor
|
closing this as its been superceded by the other patches from Sid Can you experiment with the current trunk branch and verify it meets your needs? If it doesn't -now is the time to make the appropriate changes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Currently, the AWS SignerFactory restricts the class of Signer algorithms that can be used.
We require an ability to register a custom Signer. The
SignerFactorysupports this functionality through itsregisterSignermethod.By providing a fully qualified classname to the existing parameter
fs.s3a.signing-algorithm, the custom signer can be registered.